﻿@model Gecko.Entities.WaterLeakResource

@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>AddResource</title>
</head>
<body>
    <script src="~/Scripts/jquery-1.7.1.min.js"></script>
    <script src="~/Scripts/jquery.validate.min.js"></script>
    <script src="~/Scripts/jquery.validate.unobtrusive.min.js"></script>
    @using (Html.BeginForm("", "api/resource", FormMethod.Post, new { enctype = "multipart/form-data" }))
    {
        @Html.ValidationSummary(true)
        <fieldset>
            <legend>WaterLeakResource</legend>
            waterLeakId : <input type="text" name="waterLeakId" value="" />
            File1:<input name="fileResource" id="fileResource1" type="file"/>
            File2:<input name="fileResource" id="fileResource2" type="file"/>
            File3:<input name="fileResource" id="fileResource3" type="file"/>
            <p>
                <input type="submit" value="Create" />
            </p>
        </fieldset>
    }
    
    <div>
        @Html.ActionLink("Back to List", "Index")
    </div>
</body>
</html>
